package com.zhihu.pojo.req;

import lombok.Data;
import org.apache.solr.client.solrj.beans.Field;
import org.springframework.data.solr.core.mapping.SolrDocument;

import java.io.Serializable;

@Data
@SolrDocument(solrCoreName="demo3")
public class TypeReq implements Serializable {

    @Field("id")
    private String typeId;

    @Field("type_name")
    private String typeName;
}
